package com.pxxy.yuyi.service;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.pxxy.yuyi.entity.Leave;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Author : XuWen
 * @create 2021/6/21 0:44
 */
public interface LeaveService {
    Integer insertLeave(Leave leave);

    PageInfo<Leave> selectLeave(Integer pageNum);

    Integer deleteLeave(Integer lid);

    Integer update(Leave leave);

    PageInfo<Leave> selectLeaves(Integer pageNum);
}
